#ifndef _KUKATHREADMANAGE_H
#define _KUKATHREADMANAGE_H

#include <QThread>
#include "uniontecsystemdll_global.h"
#include "Interface/PluginInterface/tecplugininterface.h"
#include "Interface/PluginInterface/kukateplugininterface.h"

class BackUdpThread : public QThread{
    Q_OBJECT
public:
    ENUM_ThreadStatus ThreadStatus;
    ENUM_PluginStatus PluginStatus;
    KUKAThreadLoopTime mThreadLoopTime;
private:
    bool   PluginLogOut;
    kukatecPluginInterface* pkukatecPluginInstance;
public:
    BackUdpThread ();
    ~BackUdpThread();
    short  KUKAPluginInstanceConnect(kukatecPluginInterface* p);
    short  PluginStatusTransitions(ENUM_PluginStatus Status);
    double GetThreadLoopTime();
protected:
    void run();
};


#endif // _KUKATHREADMANAGE_H
